Since the move to Clutter.grab() in commit
f4cae72d17af6, the
parameter doesn't do anything anymore.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>
if (this.state === State.OPENED || this.state === State.OPENING)
return true;
- if (!this.pushModal(timestamp))
+ if (!this.pushModal())
return false;
this._fadeOpen(onPrimary);
this.backgroundStack.set_child_above_sibling(this._eventBlocker, null);
}
- pushModal(timestamp) {
+ pushModal() {
if (this._hasModal)
return true;
- let params = {actionMode: this._actionMode};
- if (timestamp)
- params['timestamp'] = timestamp;
- let grab = Main.pushModal(this, params);
+ const grab = Main.pushModal(this, {actionMode: this._actionMode});
if (grab.get_seat_state() !== Clutter.GrabState.ALL) {
Main.popModal(grab);
return false;